home *** CD-ROM | disk | FTP | other *** search
- /*
- * Make3DpicC v1.3
- * Arexx Macro for use with ImageFX
- *
- * Makes a color 3D picture for use with Red & Blue glasses.
- * Must be rendered in Imagine with Stereo3D turned on.
- * (or in any program that generates pictures in X-Specs Format)
- *
- * For multiple image processing use IMP and put this script in Proc.
- *
- * Written By Torgeir Holm ©1994
- *
- */
-
- OPTIONS RESULTS
-
- DrawMode Normal
- Blend 100
- EdgeMode Normal 0
- FillMode Solid 0 0 0 SMOOTH
-
- SaveUndo ; Undo Off
-
- Redraw Off
-
- GetMain
- PARSE VAR result name width height depth
-
- /* Separate the Left and Right Image.*/
-
- w = width
- h = (height/2)
- a = (height/2+1)
- Crop 0 0 w h TOSWAP
- Crop 0 a w h
-
-
- /* Make Red & Cyan buffers*/
-
- Negative
- ActiveColor 4
- MenuPalette
- SetPalette '-1' 255 0 0
- MenuToolbox
- Drawmode Add
- FloodFill 1 1 255
- Negative
-
- Swap
-
- Negative
- ActiveColor 5
- MenuPalette
- SetPalette '-1' 0 255 255
- MenuToolbox
- FloodFill 1 1 255
- Negative
-
- /* Combine the Images to make 3D image */
-
- Add
-
- KillSwap
- Drawmode Normal
-
- Undo On ; Redraw On
-
- EXIT
-